<%page expression_filter="h"/>
<%!
from django.utils.translation import gettext as _
from openedx.core.djangolib.markup import HTML, Text
%>
<%inherit file="../main.html" />

<%block name="pagetitle">${_("This Course Unavailable In Your Country")}</%block>

<main id="main" aria-label="Content" tabindex="-1">
    <section class="outside-app">
      % if page_header:
         <h1>
            <%block name="pageheader">${page_header}</%block>
        </h1>
      % endif
        <p>
        <%block name="pagecontent">${page_content or Text(_("Our system indicates that you are trying to access this {platform_name} "
                "course from a country or region currently subject to U.S. economic and trade sanctions. "
                "Unfortunately, because {platform_name} is required to comply with export controls, "
                "we cannot allow you to access this course at this time."
                )).format(
                    platform_name=Text(settings.PLATFORM_NAME),
                )}
        </%block>
        </p>
    </section>
</main>
